home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1995.02 / 000018_horne@research.nj.nec.com_Mon Feb 6 11:44:53 1995.msg < prev    next >
Internet Message Format  |  1995-02-28  |  2KB

  1. Received: from zingo (zingo.nj.nec.com) by cs.umb.edu with SMTP id AA05179
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 6 Feb 1995 21:32:31 -0500
  3. Received: by zingo (920330.SGI/YDL1.4-910307.16)
  4.     id AA23903(zingo); Mon, 6 Feb 95 16:45:25 -0500
  5. Received: by telluride (931110.SGI/cliff's joyful mailer #2)
  6.     id AA29169(telluride); Mon, 6 Feb 95 16:44:53 -0500
  7. Date: Mon, 6 Feb 95 16:44:53 -0500
  8. From: horne@research.nj.nec.com (Bill Horne)
  9. Message-Id: <9502061644.ZM29167@telluride>
  10. X-Mailer: Z-Mail (3.1.0 22feb94 MediaMail)
  11. To: tex-k@cs.umb.edu
  12. Subject: xdvi problem
  13. Content-Type: text/plain; charset=us-ascii
  14. Mime-Version: 1.0
  15.  
  16. I compiled xdvi on a SGI Indy (R4400) running IRIX 5.2 and X11R5.
  17.  
  18. It compiled fine, but when I run the program it seg faults as soon as
  19. the window is exposed.  I traced down the problem to the XtDispatchEvent()
  20. call on line 1244 in events.c.  This call is made several times with
  21. various types of events, but on an Expose event I get the following
  22. error in dbx:
  23.  
  24. Process 29121 (xdvi)  Segmentation fault (Signal 11) [XMapWindow:23 ,0xf776d98]
  25.  
  26. The event structure looks normal, although I'm not really sure what it
  27. is supposed to contain.  On the last event that succeeds (a MapNotify), the
  28. structure contains:
  29.  
  30. union _XEvent {
  31.     type = 19
  32.     xmap = struct .41fake {
  33.         type = 19
  34.         serial = 75
  35.         send_event = 0
  36.         display = 0x10011868
  37.         event = 83886096
  38.         window = 83886096
  39.         override_redirect = 0
  40.     }
  41. }
  42.  
  43. And during the Expose event on which it fails, the structure contains:
  44.  
  45. union _XEvent {
  46.     type = 12
  47.     xexpose = struct .34fake {
  48.         type = 12
  49.         serial = 75
  50.         send_event = 0
  51.         display = 0x10011868
  52.         window = 83886101
  53.         x = 0
  54.         y = 0
  55.         width = 14
  56.         height = 984
  57.         count = 0
  58.     }
  59. }
  60.  
  61. ... the only thing that seems odd to me is that the width is 14.  Maybe it's
  62. the scrollbar??  And the window number is different that the window number
  63. for the previous event.  I don't know enough about X to know if this is
  64. normal or not.
  65.  
  66.  
  67. Anybody have any clue what's going on??  I'm stuck.
  68.  
  69. Thanks in advance,
  70.  
  71. Bill
  72.  
  73.  
  74.  
  75.